<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Home_page_c extends CI_Controller {
         public function index() {
             
             if(isset($_POST['submit'])){
                redirect('/dashboard');
             }
            $data['content'] = 'pages/home-page';
            $data['title'] = 'Welcome';
            $data['current_page'] = 'home-page';
            $data['class'] = '';
            $data['back_to'] = 'none';
            
            $this->load->view('includes/template', $data);
        }
      
        
}

/* End of file welcome.php */
/* Location: ./application/controllers/Home_page_c.php */